#import "Notification_Task4_LoggerImpl.h"
#import "Notification_Task4_LogRecordImpl.h"
#import "Notification_Task4_KeyGenerator.h"
#import "MBODebugSettings.h"

@implementation Notification_Task4_LoggerImpl

- (id<SUPLogRecord>)createRealLogRecord
{
	Notification_Task4_LogRecordImpl *log = [Notification_Task4_LogRecordImpl getInstance];
	log.messageId = [Notification_Task4_KeyGenerator generateId];
	log.requestId = [NSString stringWithFormat:@"%ld",log.messageId];
	log.timestamp = [[[NSDate alloc] initWithTimeIntervalSinceNow:0] autorelease];
	log.code = CLIENT_DATABASE_CREATED_LOGRECORD_CODE;
	log.component = @"Notification_Task4DB";
	return log;
}


@end